class Accout {
public:
    static double rate() { return interestRate; }
    static void rate(double);
private:
    static double interestRate;
    static constexpr int period = 20; // period 是常量表达式
    double daily_tb1[period];
};

constexpr int Accout::period;
